package com.cimu.redis.pubsub.handler;

import com.cimu.redis.pubsub.Message;
import com.cimu.redis.pubsub.MessageHandler;
import com.cimu.redis.pubsub.MessageType;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class MsgMessageHandler implements MessageHandler {

    @Override
    public MessageType[] messageType() {
        return new MessageType[]{MessageType.MSG};
    }

    @Override
    public void processMsg(Message message) {
        log.info("===========处理发送短信业务==============");
    }

}
